package day1027.CarRentalCompany;

public class LeaseInformation {
    private String name;
    private String  Brand;
    private int day;
    private double money;

    public LeaseInformation(String name, String brand, int day, double money) {
        this.name = name;
        Brand = brand;
        this.day = day;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBrand() {
        return Brand;
    }

    public void setBrand(String brand) {
        Brand = brand;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void show(){
        System.out.println("姓名："+getName()+"车辆名："+getBrand()+"租了"+getDay()+"天"+"租金为："+getMoney());
    }
}
